.loading-wave {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.loading-bar {
  width: 10px;
  height: 5px;
  margin: 0 2.5px;
  background-color: #3498db;
  border-radius: 2.5px;
  animation: loading-wave-animation 1s ease-in-out infinite;
}

.loading-bar:nth-child(2) {
  animation-delay: 0.1s;
}

.loading-bar:nth-child(3) {
  animation-delay: 0.2s;
}

.loading-bar:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes loading-wave-animation {
  0% {
    height: 5px;
  }

  50% {
    height: 25px;
  }

  100% {
    height: 5px;
  }
}

.dark {
  .loader,
  .loaders {
    display: flex;
    align-items: center;
    color: #000 !important;
  }

  .bar {
    display: inline-block;
    width: 3px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    animation: scale-up4 1s linear infinite;
  }

  .bars {
    display: inline-block;
    width: 3px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }

  @keyframes scale-up4 {
    20% {
      background-color: #000;
      transform: scaleY(1.5);
    }

    40% {
      transform: scaleY(1);
    }
  }

  .txt {
    color: #000;
  }
}

.light {
  .loader,
  .loaders {
    display: flex;
    align-items: center;
    color: #fff !important;
  }

  .bar {
    display: inline-block;
    width: 3px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    animation: scale-up4 1s linear infinite;
  }
  .bars {
    display: inline-block;
    width: 3px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
  }

  @keyframes scale-up4 {
    20% {
      background-color: #fff;
      transform: scaleY(1.5);
    }

    40% {
      transform: scaleY(1);
    }
  }
  .txt {
    color: #fff;
  }
}

.bar:nth-child(2),
.bars:nth-child(2) {
  height: 16px;
  margin: 0 5px;
  animation-delay: 0.25s;
}

.bar:nth-child(3),
.bars:nth-child(3) {
  animation-delay: 0.5s;
}
